import React, { Component } from 'react'
import axios from '../request';

export default class Zma extends Component {
    render() {
        return (
            <div className="big">
                <ul className="pul">
                  <li className="phot"></li>  
                </ul>
                <ul className="pul1"> 
                    <li></li>
                </ul>
            </div>
        )
    }
    componentDidMount(){
        axios.get("https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata").then(photoList=>{
            console.log(photoList)
            this.setState({
                photoList
            })
        })
    }
}
